package com.wxm.common.file.core.config;

import com.wxm.common.file.core.service.ImgUploadService;
import com.wxm.common.file.core.service.supplier.*;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 *      上次ServiceBean配置
 * </p>
 *
 * @author: wxm
 * @Date: 2022/1/20
 */
@Configuration
public class UploadBeanConfig {
    @Bean
    public ImgUploadService imgUploadService(){
        return new ImgUploadService();
    }

    @Bean
    public QiniuKodoService qiniuKodoServiceImpl(){
        return new QiniuKodoService();
    }

    @Bean
    public LocalOssService localOssService(){
        return new LocalOssService();
    }

    @Bean
    public UFileUs3Service uFileUs3Service(){
        return new UFileUs3Service();
    }

    @Bean
    public AliyunOssService aliyunOssService(){
        return new AliyunOssService();
    }

    @Bean
    public TencentCloudCosService tencentCloudCosService(){
        return new TencentCloudCosService();
    }
}
